# -*- mode: snippet -*-
# name: function fn() {..}
# key: fn
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
function ${1:name}($0) {
  console.log('${1:$(yas/substr yas-text "[^:=, ]*")} called');
}